Part Number Hot Search : 
00BGXC DS1904 MA4P74 ISL88706 S29GL01G ON1002 2SC197 74LVX373
Product Description
Full Text Search
 

To Download AL260 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  video enhancement processor AL260 data sheets
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 2 amendments 99.10.04 preliminary version 02.12.19 preliminary version a0.1: (1) updated from preliminary version 03.05.16 version b1.0: (1) updated from preliminary version a0.2 (2) add register description the information contained herein is subject to change wihout notice.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 3 contents: 1. general description ................................................................................................... 5 2. function block diagram ............................................................................................ 6 3. features ...................................................................................................................... 6 3.1 general features .................................................................................................... 6 3.2 feature description: .............................................................................................. 7 4 applications ................................................................................................................ 8 5 application example .................................................................................................. 9 6 pin-out diagram ....................................................................................................... 10 7 pin definition and description ................................................................................ 11 7.1 input format table of AL260:.............................................................................. 11 8 general function description ................................................................................. 15 8.1 function blocks ................................................................................................... 15 8.2 viu (video input unit)........................................................................................... 15 8.2.1 input data format ......................................................................................... 15 8.2.2 video capture and down scale engine ...................................................... 16 8.2.3 automatic positioning registers................................................................. 17 8.2.4 pll programming for memory and display clock..................................... 17 8.3 miu (memory interface unit)................................................................................ 17 8.3.1 dram bandwidth consideration ................................................................. 17 8.3.2 dram input/output windows ...................................................................... 18 8.3 vpu (video processing unit)............................................................................... 18 8.4.1 video de-interlaced with film detection and motion adaptive................. 19 8.4.2 up scale engine............................................................................................ 19 8.4.3 keystone up scale engine........................................................................... 20 8.4 vou (video output unit)...................................................................................... 20
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 4 8.5.1 osd ................................................................................................................ 22 8.5.2 lut (look up table for gamma correction and color enhancement) ..... 22 8.5.3 dithering ........................................................................................................ 23 8.5 biu (bus interface unit) ....................................................................................... 23 9 register definition.................................................................................................... 24 9.1 register set .......................................................................................................... 24 9.2 register description ............................................................................................ 32 10 electrical characteristics......................................................................................... 76 10.1 absolute maximum ratings ............................................................................ 76 10.2 recommended operating conditions............................................................ 76 10.3 dc characteristics ........................................................................................... 76 10.4 ac characteristics ........................................................................................... 77 11 timing diagrams ...................................................................................................... 78 12 mechanical drawing- pqfp-208 .............................................................................. 79
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 5 1. general description AL260 is a highly integration video enhancement processor which supports video input with multiple video formats then output with de-interlacing and scaling effects. it can be used for most video conversion and processing applications. AL260 is equipped with a high quality scaling engine that automatically maintains full screen output display, regardless of the resolution of the incoming signals. applying averlogic?s proprietary scaling algorithm, the primary input video can be scaled up and scaled down independently in horizontal & vertical directions. it also provides film detection, advanced de-interlacing, filtering, and scaling which?s able to convert and process the interlaced video to be displayed on progressive panels. the on screen display (osd) window provides overlay of a control menu, text, or caption on the output display. it?s built-in osd generator with 2k bytes programmable ram fonts and also supports optional external osd. AL260 is built-in 3-channel dac for non-interlaced analog output and also supports 24bit digital output. it?s housed with 208-pin qfp.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 6 2. function block diagram 3. features 3.1 general features z support digital yuv input and non-interlaced rgb/ypbpr analog and digital outputs z film detection with inverse 3:2/2:2 pull down z advanced de-interlacing with motion compensation z averlogic?s proprietary cubic scaling algorithm for scaling up and down z built-in 2k bytes osd ram and support external osd font rom z available in 208-pin pqfp z 2.5v core and 3.3v i/o power supplies with 5v input tolerant
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 7 3.2 feature description: z input interface z ntsc/pal support z video interface itu-r 601/656(8/16bit), yuv422 support z output interface z output resolution up to 1280x1024 @60hz z analog non-interlaced rgb/ypbpr output supported z sdram interface z support maximum 32bit bus width sdram interface, two sdrams configuration up to 125 mhz supported z de-interlacing and scan rate conversion z de-interlacing for interlaced video input z motion compensation de-interlacing with spatial and temporal filtering support z film detection with inverse 3:2 & 2:2 pull down z frame rate conversion(frc) from 50hz up to 120hz z scaling engine and video processing z independent scale up and down in both horizontal and vertical direction with 4-line, high precision interpolation z digital brightness/contrast/saturation control z keystone correction for front-projection systems z sharpness control z built-in lut for gamma correction and color adjustment z dithering logic for color depth enhancement z i2c or parallel port registers access z registers can be accessed by serial i2c port or 8 bit parallel port for high speed registers data update z on screen display (osd) z 2k bytes internal osd ram for fine bitmaps and text font
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 8 z dual internal osd windows support with alpha blending/transparency effect z support up to 64k bytes external rom for font or bitmap data z in rom mode, internal osd ram supports 1.5k bytes for context ram, 0.5k bytes for pre-fetch ram z pre-fetch ram supports different speed types of font roms (ee-prom, prom or mask-rom) z other features z primary input stream vbi pass through support z frame capture mirroring support in horizontal or vertical direction z ntsc/pal video input auto-detection support z power saving support z slave mode support z operating power z 2.5v core and 3.3v i/o power supplies with 5v input tolerant z package z 208-pin pqfp 4 applications z lcd tv z dtv & front projection/rear projection/progressive scan tvs z tv to pc monitor format/scan rate converter z video enhancer/tv tuner box
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 9 5 application example mcu 64k mcu 64k sdram 1m x 16bit sdram 1m x 16bit mtp/otp osd font rom mtp/otp osd font rom dvi tx. dvi tx. rgb/ypbpr analog output 16/8 bit yuv video decoder video decoder analog video (s-video or cvbs) analog video (s-video or cvbs) sdram 1m x 16bit sdram 1m x 16bit averlogic AL260 audio processor audio processor panellink digital output svga/xga lcd panel lvds tx. lvds tx.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 10 6 pin-out diagram pqfp-208 package: 156 155 151 152 153 154 150 148 149 143 142 138 139 140 141 132 137 133 134 135 136 145 146 147 144 127 126 122 123 124 125 116 121 117 118 119 120 129 130 131 128 111 110 106 107 108 109 105 113 114 115 112 1 2 6 5 4 3 7 9 8 14 15 19 18 17 16 25 20 24 23 22 21 12 11 10 13 30 31 35 34 33 32 41 36 40 39 38 37 28 27 26 29 46 47 51 50 49 48 52 44 43 42 45 vdd33 p1vdd25 p1vss25 p1avss25 p1vss25 p1avdd25 p1vdd25 vin1 mxin rdata7 vin5 vin4 vin7 vin6 vdd25 p2vss25 p2avss25 p2avdd25 p2vdd25 p2vss25 mxout rdata0 rdata1 rdata2 rdata3 rdata4 rdata5 rdata6 vss33 vin0 vin2 vin3 vdd33 vclk p2vdd25 vss25 vin13 vhref vhs vss25 vvs vin8 vin9 vdd25 vin10 vin11 vin12 vin14 vin15 host_db0 host_db1 vss33 vdd25 vss25 avdd33 avss25 vrefout avdd25 vrefin vout2 iog vout4 maddr8 maddr9 maddr6 maddr7 vss33 rset avss33r avdd33r ior avss33g avdd33g avss33b avdd33b iob vss25 vdd25 avss33 vss25 vdd25 vout3 vout1 vout0 maddr10 maddr5 comp maddr4 mdata29 maddr3 maddr2 mdata28 maddr1 maddr0 vdd25 pmxin vss33 mdata31 mdata30 mdata27 mdata26 mdata25 mdata24 vdd33
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 11 7 pin definition and description 7.1 input format table of AL260: vin no. 15~8 7~0 video y cbcr ycbcr the pin-out definitions are described as follows: pin name pin number i/o type description input interface vin [15:14], [13:10], [9:8] 49-48, 46-43, 41-40 i video input bus bit 15-8, lower 8 bits of itu-r 601 16bit data bus vin [7:4], [3:0] 33-30, 28-25 i video input bus bit 7-0, upper 8 bits of itu-r 601 16bit data bus or video input bus bit 7-0 of itu-r 656 8bit vclk 35 i reference clock of video port vhreff 37 i hde of video port vhs 38 i hsync of video port vvs 39 i vsync of video port osd rom interface rdata [6:0], [7] 22-16, 24 i rom data bus bit 7-0 ra [15:0] 203-188 o rom address bus bit 15-0 dac output interface avdd33 154 ap 3.3v analog power for dac avss33 136 ag analog gnd for dac avdd25 152 ap 2.5v analog power for dac avss25 153 ag analog gnd for dac avdd33r 146 ap 3.3 v analog power for channel r
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 12 pin name pin number i/o type description avss33r 147 ag analog gnd for channel r avdd33g 143 ap 3.3 v analog power for channel g avss33g 144 ag analog gnd for channel g avdd33b 140 ap 3.3 v analog power for channel b avss33b 141 ag analog gnd for channel b dvdd25 137 ap 2.5v digital power for dac dvss25 138 ag digital gnd for dac ior 145 o channel r current output iog 142 o channel g current output iob 139 o channel b current output rset 148 i full-scale adjust resister comp 149 i compensation pin vrefin 150 i voltage reference input vrefout 151 o voltage reference output digital output panel interface vout [23:16], [15:5], [4:0] 185-178, 168-158, 133-129 o digital video output bit 23-0 sclk 170 o display pixel clock pdsden 172 o display data enable phs 173 i hsync input for slave mode pvs 174 i vsync input for slave mode oxin 176 i reference clock for display device sdram interface mdata [31:24], [23-12], [11:0] 113-106, 103-92, 83-72 i/o sdram data bus bit 31-0 maddr [10:6], [5:0] 128-124, 122-117 i/o sdram address bit 10-0
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 13 pin name pin number i/o type description pmxin 115 i sdram read data input sampling clock ba[1:0] 91-90 o sdram bank address bit 0-1 rasb 89 o sdram row address strobe casb 88 o sdram column address strobe web 87 o sdram write enable clk 85 o sdram reference clock host interface host_db [7:2], [1:0] 59-54, 51-50 i/o host bus bit 7-0 host_wrb 63 i reference clock host_rdb 64 i read/write strobe host_denb 65 i data cycle host_memb 69 i memory cycle host_rdyb 70 o read data ready output ireq 71 o interrupt output sda 205 i/o data bit for serial bus scl 204 i clock bit for serial bus i2c_en 186 i i2c enable intb 206 o interrupt for serial protocol pll interface mxin 15 i crystal input (14.31818mhz) mxout 14 o crystal output p1vdd25 2,7 dp 2.5v pad ring power for pll1 p1vss25 3,6 dg pad ring gnd for pll1 p1avdd25 5 ap analog power for pll1 p1avss25 4 ag analog gnd for pll1 p2vdd25 8,12 dp 2.5v pad ring power for pll2 p2vss25 9,13 dg pad ring gnd for pll2 p2avdd25 11 ap analog power for pll2 p2avss25 10 ag analog gnd for pll2 others
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 14 pin name pin number i/o type description rstb 207 i reset nc 61, 67 no connection digital power / ground vdd25 34, 42, 62, 86, 116, 134, 156, 177 dp digital power 2.5v vss25 36, 47, 60, 68, 84, 135, 155, 171, 187 dg digital ground 2.5v vdd33 1, 29, 53, 66, 105, 169, 208 dp digital power 3.3v vss33 23, 52, 104, 114, 123, 157, 175 dg digital ground 3.3v note: for i/o type, ?i?, ?o?, ?ap?, ?ag?, ?dp?, and ?dg? stand for ?input?, ?output?, ?analog power?, ?analog ground?, ?digital power?, and ?digital ground? respectively.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 15 8 general function description 8.1 function blocks AL260 provide a fully programmable structure allowing video stream process more flexible. the AL260 data process is executed by parsing in the modules such as capture, down scale, memory, up scale and mixer. in each module, data will be manipulated corresponding to the setting of registers. due to the lack of the number of registers, some registers require banking to other page for access. there are 4 group registers, base control registers, capture control registers, memory control registers and display control registers. the value of base register 0eh determines which group of registers is taken effect. if register 0eh is programmed to value 00, the group of base control registers is chosen; and the register 0eh with value 01 is for capture register group, value 02 is for memory register group and value 03 is for display register group. the register 0eh must be set to corresponding value before that group of register can be accessed. register group id group register description symbol example 00 access only base control registers bas# bas#16 01 access capture and base control registers cap# cap#20 10 access memory and base control registers mem# mem#32 0eh <1:0> 11 access display and base control registers dis# dis#61 8.2 viu (video input unit) AL260 accepts 16/8bit yuv 4:2:2 (ntsc/pal) video data stream with itu-r-656/601 standards. applying averlogic proprietary scaling algorithm, the video stream can be scaled down to accommodate required output resolutions with high quality scaling effect. the high quality scaling engine also ensures full screen output display. 8.2.1 input data format the AL260 is an integrated video processor that automatically detects and converts multiple video formats. the index and base registers provide user an expansion of the
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 16 control registers, which implements easy control of the input and the desired output format. the base registers control the input type and target format. the AL260 accepts two data formats: 8-bit itu-r bt.656 (ccir656) and 16-bit ccir601 422. the clock and sync signal pins separate for rgb or yuv while the yuv data share the same pins as rgb data. for detailed applications, please refer to AL260 application notes. 8.2.2 video capture and down scale engine the AL260 has a high-quality scaling engine performing proprietary scaling operations independently in both horizontal and vertical direction with 4-line, high precision interpolation.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 17 8.2.3 automatic positioning registers the AL260 can detect and report input capture timing for auto-adjustment function. it detects the starting and ending positions of active video in both direction (horizontal and vertical) and ensures the output fit properly into the display region. the data threshold value defines the sensibility of valid data. the capture data will be sampled and qualified base upon the value of data threshold, so that it can determine the starting point and ending point of an active line or an active frame. 8.2.4 pll programming for memory and display clock AL260 embedded 2 independent 200mhz pll-based clock generator. one is used to generate sdram clock, the other is for output clock. they are all reference input clock from xin (generally 14.318mhz). there are 3 operation modes in defined in pll register: power down mode, bypass mode and normal mode. power down mode forces fout to low and pll in low power consumption state (<10uw). bypass mode provides fout with the same frequency as fin. normal mode synthesizes fout by programming suitable divider values. it needs a tready time (pull_in time + locking time) for pll to re-lock the fin clock when pll wakes up from power mode to normal mode. in general, it should be reserved a tread time for re-locking when pll is changed to normal mode from power mode or bypass mode, or when any divider setting is changed. 8.3 miu (memory interface unit) miu supports sdram 32bit bus width interface. AL260 supports various sdram configurations, such as 512kx16, 2ea. it uses sequential burst mode to control sdram memory that operates at minimum 120mhz of clock frequency. for detailed operation of sdram, please reference memory specifications. 8.3.1 dram bandwidth consideration the AL260 uses external drams for the purpose of frame rate conversion between the
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 18 input video and the output video device. the frame rate conversion for video is done by double buffering. 8.3.2 dram input/output windows the proceeding diagrams will describe the dram input control. the dram input data size depends on the horizontal capture destination size. after the input data size has been defined, the memory address of input data can be determined by the register dram input stride. the dram input stride can be programmed to provide extra memory space for input data. 8.3 vpu (video processing unit) AL260 identifies video input sources including progressive film (24/25 fames/sec) and interlaced video (50/60 fields/sec) and selects appropriate de-interlacing algorithm for video enhancement. vpu supports film detection with inverse 3:2 or 2:2 pull down and averlogic proprietary de-interlacing. when AL260 detects the video source as film, then
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 19 progressive scan frames will be reassembled and output twice input rate such as 50/60 frame/sec. otherwise, it will be taken as interlaced video source, and processed by using de-interlacing to reduce video artifacts. the scaling engine offers scale-up effect by applying cubic scaling algorithm. it supports independent scale-up in both horizontal and vertical direction with 4-line, high precision interpolation. AL260 also offers digital contrast, brightness, and saturation for color adjustment. it can be adjusted in yuv data. the sharpness control provides good effect for image enhancement. it also provides keystone function for projector application. 8.4.1 video de-interlaced with film detection and motion adaptive video processing unit equips a high quality de-interlacing algorithm to optimize the output progressive scan frame by recovering film sequence and compensating motion effect during the de-interlacing process. the motion estimation can evaluate both y/c data or y data by setting register. in motion compensation process, the sensitivity of the data estimation can be adjusted by register for lumina and chroma threshold. in film video, such as dvd movie, some duplicate fields are inserted into the interlaced video stream. original film sequence detection and recovery can produce a smooth progressive scan frame transition after de-interlaced. 8.4.2 up scale engine the up scale engine can scale up primary stream to higher resolution in high quality for output display. the AL260 adapts fir scaling engine that can do horizontal and vertical up scale independently. the primary stream picture can be either down scale to smaller size of picture or up scale to larger size of picture from original capture (input) picture for output, but it can not do both up and down scale process at the same time. consider to capture full picture of input data if the output resolution of primary stream picture is going to be enlarged. following block diagram illustrates the define registers of source primary stream window and destination up scale window.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 20 8.4.3 keystone up scale engine the AL260 can scale up the image in dynamic ratio which is good for lcd projector image correction. the projected images from the lcd projector sometimes show as figure due to the misalignment or cheap optics. the AL260 can up scale picture in dynamic ratios which are loaded from pre-stored at internal fifo buffers. the keystone is designed to compensate the distortions, such as figures following. 8.4 vou (video output unit) two independent on-screen-display (osd) windows provide overlay for a control menu, text, or caption on the output display. the AL260?s osd is very flexible in the way that the font, size, and display location are all programmable. the internal 2k byte sram provides storage for the osd information. the osd can be operated with only this
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 21 internal sram or with an external rom to store font tables or even larger bitmaps. built- in 8bit programmable gamma look-up table for each input color channel for gamma correction. it may be used for rgb contrast, brightness and color temperature adjustments. dithering is performed to retain color resolution for lcd panels that support 18-bit color depths. AL260 provides digital video output interface that can be directly connected to 24bit tft lcd panel or dvi/lvds transmitters. it also provides analog video output which can support up to sxga resolution.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 22 8.5.1 osd two independent on-screen-display (osd) windows provide overlay for a control menu, text, or caption on the output display. the AL260?s osd is very flexible in the way that the font, size, and display location are all programmable. the internal 2k byte sram provides storage for the osd information. the osd can be operated with only this internal sram or with an external rom to store font tables or even larger bitmaps. regarding the detailed usage, please refer to AL260?s osd application note. 8.5.2 lut (look up table for gamma correction and color enhancement) because of the different characteristics of tv?s and pc monitors, direct color space conversion from tv to pc may not show the same color that the human eye sees from the original video on the tv. the contrast may not be sufficient, and the hue may not be accurate, so to resolve these issues the AL260 has a gamma correction internal lut implemented. the AL260 provides programmable registers for implementing the lut. the directly converted colors are sent to the lut that then sends out the mapped, corrected colors. the user can program the lut based on his/her own experiments on specific types of monitors. the typical input-output mapping curve is usually somewhat like the following: figure 11 lut mapping input output direct conversion corrected conversion
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 23 8.5.3 dithering the averlogic offers dithering technique that simulates display of colors that are not in the current color space of a particular image. the dithering logic provides additional color depth enhancement to retain color resolution for lcd panels that support 18-bit color depth. 8.5 biu (bus interface unit) it supports i 2 c serial and proprietary parallel programming interfaces. i 2 c serial interface requires two wires to access while the proprietary parallel interface needs 11 wires. the communication speed of proprietary parallel interface is much faster than i 2 c serial interface. regarding to the detailed usage, please refer to AL260?s general application note.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 24 9 register definition registers are provided to setup AL260. these registers can be programmed via host interface. the host interface protocol is illustrated in ?host interface? paragraph. the application notes will describe more detailed settings about these registers. upon request, averlogic will provide the sample code or tool of host interface control software. 9.1 register set register name address r/w default function base control group registers companyid 00h r 46h company id intrmask 02h r/w 00h interrupt mask intrstatus 03h r/w 00h interrupt vector and mode capctrl 06h r/w 00h capture data control disctrl1 07h r/w 00h display data control 1 disctrl2 08h r/w 00h display data control 2 polarityctrl 09h r/w 00h display polarity control otimectrl 0ah r/w 00h display timing control groupaccess 0eh r/w 00h group access id insrcformat 11h r/w 00h input video source format inputctrl 12h r/w 00h input control hrefdly 13h r/w 00h horizontal reference delay capctrl1 14h r/w 00h capture control 1 capctrl2 16h r/w 00h capture control 2 memaccr 17h r/w 00h memory access control invmsb 18h r/w 00h inverted msb of capture data format pllsetr 1bh r/w 00h pll setting for memory and display mpllnf 1ch r/w 00h lsb of nf value for memory pll mpllnro 1dh r/w 00h msb of nf/nr/no value for memory pll opllnf 1eh r/w 00h lsb of nf value for display pll opllnro 1fh r/w 00h msb of nf/nr/no value for display pll capture control group registers (accessible when bas#0e = 01h) capture timing caphstart 21h & 20h r/w 00h horizontal capture start
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 25 register name address r/w default function caphsrcsize 23h & 22h r/w 00h horizontal capture source size caphdestsize 25h & 24h r/w 00h horizontal capture destination size cavstart 27h & 26h r/w 00h vertical capture start capvsrcsize 29h & 28h r/w 00h vertical capture source size capvdestsize 2bh & 2ah r/w 00h vertical capture destination size interlacectrl 2eh r/w 00h interlace control hdnratio 31h & 30h r/w 00h horizontal scale down ratio vdnratio 33h & 32h r/w 00h vertical scale down ratio vbi input timing vbivstart 34h r/w 00h vbi vertical capture start vbivend 35h r/w 00h vbi vertical capture end vbihstart 36h r/w 00h vbi horizontal capture start vbihsize 37h r/w 00h vbi horizontal capture size itu-656 detection 656hstart 38h r/w 20h itu656 data horizontal sync start 656hend 39h r/w a0h itu656 data horizontal sync end 656vstart 3ah r/w 02h itu656 data vertical sync start 656vend 3bh r/w 04h itu656 data vertical sync end position detection posdatath 50h r/w 00h data threshold for position detection poshdestart 53h & 52h r horizontal capture active start poshdeend 55h & 54h r horizontal capture active end posvdestart 57h & 56h r vertical capture active start posvdeend 59h & 58h r vertical capture active end mode detection caphtotalcnt 63h & 62h r horizontal capture total counter capvtotalcnt 65h & 64h r vertical capture total counter dbufflagnuml 70h r/w 00h double buffer flag number lsb dbufflagnumh 72h r/w 00h double buffer flag number msb tuneinclk 73h r/w 00h tune input clock timing memory control group registers (accessible when reg.0eh = 02h) dram control
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 26 register name address r/w default function dramaccessctrl 20h r/w 00h dram access control dramwrite 21h r/w 00h dram write outfifoctrl 22h r/w 00h output fifo control infifoctrl 23h r/w 00h input fifo control dramminrefresh 28h r/w 00h dram minimum refresh dramctrl 2ah & 29h r/w 00h dram control register dramraddr 2dh ~ 2bh r/w 00h dram read address xymirrorin 30h r/w 00h xy mirror input xymirrorout 31h r/w 00h xy mirror output skipmode 32h r/w 10h skip mode dram input window control dramstart 33h r/w 10h dram input start dramstride 34h r/w 00h dram input stride dramisize 35h r/w 00h dram input size dram window copy control wcsrcstart 3bh ~ 39h r/w 00h window copy source start gsdraminputstride 3ch r/w 00h window copy source stride gsdraminputsize 3dh r/w 00h window copy hsize wcstride 3eh r/w 00h direct write stride wcdeststart 41h ~ 3fh r/w 00h window copy destination start dastart 44h ~ 42h r/w 00h direct read/write address wcsize 45h r/w 00h window copy size wclinetotal 46h r/w 00h window copy line total dram output window control dramstart 47h r/w 00h dram output start dramstride 48h r/w 00h dram output stride dramsize 49h r/w 00h dram output size vbistart 4fh ~ 4dh r/w 00h vbi starting address frontmd 50h r/w 00h front motion detect control tunemclk 51h r/w 00h tune memory write clock timing tunepmclk 52h r/w 00h tune memory read clock timing dram data port
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 27 register name address r/w default function readstatus 60h r read status byte0 61h r/w 00h byte 0 byte1 62h r/w 00h byte 1 byte2 63h r/w 00h byte 2 byte3 64h r/w 00h byte 3 byte4 65h r/w 00h byte 4 byte5 66h r/w 00h byte 5 display control group registers (accessible when reg.0eh = 03h) display timing dishtotal 21h ~ 20h r/w 00h display horizontal total dishsend 23h & 22h r/w 00h display horizontal sync dishdestart 25h & 24h r/w 00h horizontal display start dishdeend 27h & 26h r/w 00h horizontal display end disvtotal 29h & 28h r/w 00h display vertical total disvsend 2bh & 2ah r/w 00h display vertical sync disvdestart 2dh & 2ch r/w 00h vertical display start disvdeend 2fh & 2eh r/w 00h vertical display end window output timing dishdestart 31h & 30h r/w 00h horizontal display start dishdeend 33h & 32h r/w 00h horizontal display end disvdestart 35h & 34h r/w 00h vertical display start disvdeend 37h & 36h r/w 00h vertical display end zoom in control registers dishsrcsize 41h & 40h r/w 00h horizontal display source size dishdestsize 43h & 42h r/w 00h horizontal display destination size disvsrcsize 45h & 44h r/w 00h vertical display source size disvdestsize 47h & 46h r/w 00h vertical display destination size zoomfctrl 48h r/w 00h zoom in filter control hupratio 4bh & 4ah r/w 00h horizontal scale up ratio deltahupratio 4bh & 4ah r/w 00h delta horizontal scale up ratio vupratio 4dh & 4ch r/w 00h vertical scale up ratio hphase 4fh & 4eh r/w 00h horizontal scale up initial phase
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 28 register name address r/w default function vphase 51h & 50h r/w 00h vertical scale up initial phase outputmode 54h r/w 00h output mode lutindex 55h r/w 00h lut write index lutred 5ch r/w 00h lut red color lsb lutgreen 5dh r/w 00h lut green color lsb lutblue 5eh r/w 00h lut blue color lsb lutcolor 5fh r/w 00h lut color msb and read/write trigger patterngen 56h r/w 00h pattern generator and gpo osd color registers osdramwaddr 59h & 58h r/w 00h osd write address osdramwdata 5ah w 00h osd write data port color0red 60h r/w 00h color 0 red color0green 61h r/w 00h color 0 green color0red 62h r/w 00h color 0 blue color1red 63h r/w 00h color 1 red color1green 64h r/w 00h color 1 green color1blue 65h r/w 00h color 1 blue color2red 66h r/w 00h color 2 red color2green 67h r/w 00h color 2 green color2blue 68h r/w 00h color 2 blue color3red 69h r/w 00h color 3 red color3green 6ah r/w 00h color 3 green color3blue 6bh r/w 00h color 3 blue color4red 6ch r/w 00h color 4 red color0green 6dh r/w 00h color 4 green color4blue 6eh r/w 00h color 4 blue color5red 6fh r/w 00h color 5 red color5green 70h r/w 00h color 5 green color5blue 71h r/w 00h color 5 blue color6red 72h r/w 00h color 6 red color6green 73h r/w 00h color 6 green color6blue 74h r/w 00h color 6 blue
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 29 register name address r/w default function color7red 75h r/w 00h color 7 red color7green 76h r/w 00h color 7 green color7blue 77h r/w 00h color 7 blue osd control registers osdcolorsel 78h r/w 00h osd color select blinktime 79h r/w 00h osd blink timer osdmode 80h r/w 00h osd modes foreop 81h r/w 00h logic operation 1 foreop 83h r/w 00h logic operation 2 fadealpha 82h r/w 00h fading alpha value osd1 registers osdcontrol1 84h r/w 00h osd1 control romstartaddr1 85h r/w 00h osd1 rom start address fontaddrunit1 86h r/w 00h osd1 font address unit osdhstart1 90h r/w 00h osd1 horizontal start osdvstart1 91h r/w 00h osd1 vertical start ramaddrst1 92h r/w 00h osd1 ram start address ramstride1 8bh & 93h r/w 00h osd1 ram horizontal stride bmaphsize1 95h & 94h r/w 00h osd1 bitmap horizontal size bmaphtotal1 97h & 96h r/w 00h osd1 bitmap horizontal total pixels bmapvsize1 99h & 98h r/w 00h osd1 bitmap vertical size bmapvtotal1 9bh & 9ah r/w 00h osd1 bitmap vertical total lines iconhtotal1 9ch r/w 00h osd1 icon horizontal total iconvtotal1 9dh r/w 00h osd1 icon vertical total fontlinesize1 aeh r/w 00h osd1 font line size osd2 registers osdcontrol2 88h r/w 00h osd2 control romstartaddr2 89h r/w 00h osd2 rom start address fontaddrunit2 8ah r/w 00h osd2 font address unit osdhstart2 a0h r/w 00h osd2 horizontal start osdvstart1 a1h r/w 00h osd2 vertical start ramaddrst2 a2h r/w 00h osd2 ram start address
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 30 register name address r/w default function ramstride2 8ch & a3h r/w 00h osd2 ram horizontal stride bmaphsize2 a5h & a4h r/w 00h osd2 bitmap horizontal size bmaphtotal2 a7h & a6h r/w 00h osd2 bitmap horizontal total pixels bmapvsize2 a9h & a8h r/w 00h osd2 bitmap vertical size bmapvtotal2l abh & aah r/w 00h osd2 bitmap vertical total lines iconhtotal2 ach r/w 00h osd2 icon horizontal total iconvtotal2 adh r/w 00h osd2 icon vertical total fontlinesize2 afh r/w 00h osd2 font line size desktop color registers deskr b3h r/w 00h desktop color component red deskg b4h r/w 00h desktop color component green deskb b5h r/w 00h desktop color component blue film detection/ motion compensation registers motioncntth c5h & c4h r/w 00h motion counter threshold lumath c6h r/w 00h lumina(y) threshold chromath c7h r/w 00h chroma(c) threshold mcctrl c8h r/w 00h de-interlacing control register filmctrl c9h r/w 00h film detection control register phasectrl cah r/w 00h phase detection control register mvcnt cfh & ceh r 00h motion pixel numbers keystone/sharpness registers shpkeyctrl cbh r/w 00h sharpness/keystone control register keyaddr c1h & c0h r/w 00h keystone parameters address tri-level sync registers trisynca d0h w 00h tri-level sync parameter period a trisyncb d1h w 00h tri-level sync parameter period b trisyncd1 d2h w 00h tri-level sync parameter delta 1 trisyncd2 d3h w 00h tri-level sync parameter delta 2 trisyncblank d4h w 00h tri-level sync parameter period blank trisynclevel d7h w 00h tri-level sync level display parameter registers distunehs c2h r/w tune display horizontal sync phase
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 31 register name address r/w default function distunesclk cch r/w tune display pixel clock phase phasectrl cah r/w phase detection control register dishtotal d8h & d7h r display horizontal total counter disvtotal dah & d9h r display vertical total counter phasecnt dch & dbh r phase counter disadjen f0h r/w 00h enable brightness/contrast/saturation brightness f1h r/w 80h brightness level contrast f2h r/w 40h contrast level saturation f3h r/w 40h saturation level
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 32 9.2 register description ? base control group registers index register description (hex) register name bits function description 00 company id (r) [companyid] companyid <7:0> company id (46h) 02 interrupt mask (r/w) [intrmask] dvsyncintmask <0> display vsync interrupt mask 0 mask interrupt issued by vsync of display 1 interrupt issued when display vsync is activated capvsyncintmask <1> capture vsync interrupt mask 0 mask interrupt issued by vsync 1 interrupt issued when vsync is activated reserved <2> reserved vblmask <3> display vertical blank interrupt mask 0 mask interrupt issued by display vertical blank 1 interrupt issued by display vertical blank filmdetmask <4> h/w film detected finished interrupt mask 0 mask interrupt issued by film detection 1 interrupt issued when hw film detected fulldetmask <5> fifo full for directly memory write interrupt mask 0 mask interrupt issued by fifo full for directly write to sdram 1 interrupt issued by fifo full for directly write to sdram wcopyendmask <6> window copy finished interrupt mask 0 mask interrupt issued by window copy 1 interrupt issued by window copy fifofullmask <7> arbiter fifo full interrupt mask 0 mask interrupt issued by fifo index of arbiter 1 interrupt issued when fifo is full
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 33 03 interrupt vector and mode (r)(w) [intrstatus] dvsyncint (r) <0> display vsync interrupt capvsyncint (r) <1> capture vsync interrupt reserved <2> reserved vblint (r) <3> display vertical blank interrupt filmdet (r) <4> h/w film detected finished interrupt fulldet (r) <5> fifo full for directly memory write interrupt wcopyend (r) <6> window copy finished interrupt fifofull (r) <7> arbiter fifo full interrupt <0> 0 tri gg er mode 1 level mode <1> 0 high active 1 low active intmode(w) <7:2> reserved 04~05: reserved 06 capture data control (r/w) [capctrl] capvscaledn <0> capture vertical scale down enable 0 disable 1 enable reserved <4:1> tie to ?0000? sogo <5> display timing strobe by capture vsync reserved <6> tie to 1 go <7> capture timing enable 0 disable 1 enable 07 display data control 1 (r/w) [disctrl1] reserved <2:0> tie to ?011? cscen <3> capture data color space conversion 0 disable color space converter 1 enable color space converter
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 34 reserved <7:4> reserved 08 display data control 2 (r/w) [disctrl2] uvflip2path <0> u/v flip in display data path 0 disable 1 enable uvflip2mem <1> u/v flipped in capture data path 0 disable 1 enable reserved <2> tie to ?0? ypbpren <3> color space conversion, refer to bas#07<3> 0 ycbcr to rgb conversion 1 ypbpr to rgb conversion reserved <7:4> reserved 09 display polarity control (r/w) [polarityctrl] oclksel <0> output clock source selection as display clock, refer to bas#09<7> 0 select oxin1 as display clock 1 select oxin2 as display clock controlen <1> panel output data signals (clock, data, hsync, vsync and pde) control enable 0 disable output data signals to panel, all output data signals tie to low 1 enable panel output data signals hsyncpol <2> output horizontal sync polarity 0 positive 1 negative blankpol <3> output horizontal blank polarity 0 positive 1 negative vsyncpol <4> output vertical sync polarity 0 positive 1 negative
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 35 invertodd <5> invert odd field signal 0 positive 1 negative csyncout <6> composite sync out 0 separate 1 composite opllsel <7> display reference clock source, refer to bas#09<0> 0 from external pin (oxin1/oxin2) 1 from pll 0a display timing control (r/w) [otimectrl] windisable <0> display window diable 0 enable 1 disable reserved <1> reserved slave mode enable, refer to bas#0a<3> 0 output timing driven by internal registers slavemode <2> 1 output timing driven by external device(capture or external display device) slavetype <3> slave mode type, refer to bas#0a<2> 0 output timing is driven by capture timing 1 output timing is driven by external display device csynctype <5:4> compsit sync type 00 xor 01 and 10 nxor 11 nand ypbpranalogout <6> ypbpr analog output 0 rgb output 1 ypbpr output ypbprdigitalout <7> ypbpr digital output 0 rgb output 1 ypbpr output
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 36 0e group access id (r/w) [groupaccess] groupaccessid <1:0> group register access control 00 access only base control registers 01 access capture and base control registers 10 access memory and base control registers 11 access display and base control registers reserved <7:2> reserved 11 input video source format (r/w) [insrcformat] capinformat <1:0> capture data input format 00 reserved 01 16-bit 10 8-bit 11 reserved reserved <5:2> reserved reserved <6> tie to 0 reserved <7> reserved 12 input control (r/w) [inputctrl] reserved <2:0> tie to ?000? hspol <3> enable hs polarity detection 0 disable, when turn on auto position function 1 enable vspol <4> enable vs polarity detection 0 disable, when turn on auto position function 1 enable reserved <7:5> reserved 13 horizontal reference delay (r/w) [hrefdly] caphrefdly <3:0> capture href delay reserved <7:4> reserved 14 capture control 1 (r/w) [capctrl1] caphscaledn <0> enable horizontal capture scale down
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 37 reserved <1> reserved cap656syncsel <2> capture sync source when itu656 input 0 from external sync input pin 1 from decoded itu656 data capsoftref <3> capture href source 0 from external href input pin 1 software programmable reserved <7:4> reserved 16 capture control 2 (r/w) [capctrl2] reserved <1:0> tie to ?00? invoddfield <2> invert internal detected capture odd field signal reserved <3> reserved cap444en <4> input data format 0 ypbpr input format 1 ycbcr input format cap656en <5> enable input source is itu656 format dedgeen <6> double edge sampling for itu656 input reserved <7> reserved 17 memory access control register(r/w) [memaccr] memwen <0> directly write enable memren <1> directly read enable hostmode <2> host data mode 0 2x16-bit per each host cycle 1 1x24-bit per each host cycle reserved <3> tie to ?1? dmaen <4> enable data output of directly memory reserved <5> reserved wcopyen <6> window copy enable 0 disable window copy 1 enable window copy mclksel <7> memory clock select 0 memory clock from external pin (xin)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 38 1 memory clock from internal pll 18 inverted msb of capture data format (r/w) [invmsb] invbit7 <0> inverted bit 7 of input data invbit15 <1> inverted bit 15 of input data invbit23 <2> inverted bit 23 of input data reserved <7:3> reserved note: please refer to general application note pll registers 1b pll setting register for memory and display(r/w) [pllsetr] opllpd <0> power down for display pll 0 pll normal operation 1 pll power down opllvon <1> reset for display pll 0 pll normal operation 1 reset the pll nf & nr divider opllbp <2> bypass mode for display pll 0 pll normal operation 1 bypass the pll & fout=fin oplloe <3> output control for display pll 0 fout= fck/no 1 fout=0 mpllpd <4> power down for memory pll 0 pll normal operation 1 pll power down mpllvon <5> reset for memory pll 0 pll normal operation 1 reset the pll nf & nr divider mpllbp <6> bypass mode for memory pll 0 pll normal operation 1 bypass the pll & fout=fin mplloe <7> output control for memory pll 0 fout= fck/no
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 39 1 fout=0 note: fout = fin * nf/(nr*no) = fvco/no, here fvco is between 80mhz and 190mhz here, fin is input clock (example:14.31818mhz xtal) nf/nr, and no are refer to bas#1c~1f definition 1c lsb of nf value for memory pll(r/w) [mpllnf] mpllnf <7:0> mpllnf<7:0> value for memory pll note: nf is mpllnf+2 1d msb of nf/nr/no value for memory pll(r/w) [mpllnro] mpllnr <4:0> mpllnr<4:0> value for memory pll mpllno <6:5> mpllno<1:0> value for memory pll mpllnf <7> mpllnf<8> value for memory pll note: nr is mpllnr+2, no is mpllno+1 1e lsb of nf value for display pll(r/w) [opllnf] opllnf <7:0> opllnf<7:0> value for display pll note: nf is opllnf+2 1f msb of nf/nr/no value for display pll(r/w) [opllnro] opllnr <4:0> opllnr<4:0> value for display pll opllno <6:5> opllno<1:0> value for display pll opllnf <7> opllnf<8> value for display pll note: nr is opllnr+2, no is opllno+1
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 40 ? capture control group registers (accessible when bas#0e = 01h) i. capture timing index register description (hex) register name bits function description 20 horizontal capture start lsb (r/w) [caphstart] caphstartl <7:0> bits<7:0> of horizontal capture start position (unit: 1 pixel) 21 horizontal capture start msb (r/w) [caphstart] caphstarth <3:0> bits<11:8> of horizontal capture start position reserved <7:4> reserved 22 horizontal capture source size lsb (r/w) [caphsrcsize] caphsrcsizel <7:0> bits<7:0> of horizontal capture source size (unit: 1 pixel) 23 horizontal capture source size msb (r/w) [caphsrcsize] caphsrcsizeh <3:0> bits<11:8> of horizontal capture source size reserved <7:4> reserved 24 horizontal capture destination size lsb (r/w) [caphdestsize] caphdestsizel <7:0> bits<7:0> of horizontal capture destination size (unit: 1 pixel) 25 horizontal capture destination size msb (r/w) [caphdestsize] caphdestsizeh <3:0> bits<11:8> of horizontal capture destination size reserved <7:4> reserved 26 vertical capture start lsb (r/w) [capvstart] capvstartl <7:0> bits<7:0> of vertical capture start position (unit: 1 line) 27 vertical capture start msb (r/w) [capvstart] capvstarth <2:0> bits<10:8> of vertical capture start position reserved <7:4> reserved
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 41 28 vertical capture source size lsb (r/w) [capvsrcsize] capvsrcsizel <7:0> bits<7:0> of vertical capture source size (unit: 1 line) 29 vertical capture source size msb (r/w) [capvsrcsize] capvsrcsizeh <2:0> bits<10:8> of vertical capture source size reserved <7:4> reserved 2a vertical capture destination size lsb (r/w) [capvdestsize] capvdestsizel <7:0> bits<7:0> of vertical capture destination size (unit: 1 line). 2b vertical capture destination size msb (r/w) [capvdestsize] capvdestsizeh <2:0> bits<10:8> of vertical capture destination size reserved <7:4> reserved 2e interlace control (r/w) [interlacectr] interlaceen <0> enable interlace timing input fieldcap <2:1> field capture into memory 00 capture even and odd field into memory 01 capture odd field only 10 capture even field only 11 reserved fieldoffset <7:4> field capture offset 30 horizontal scale down ratio lsb (r/w) [hdnratio] hdnratiol <7:0> bits<7:0> of horizontal scale down ratio 31 horizontal scale down ratio msb (r/w) [hdnratio] hdnratioh <0> bit<8> of horizontal scale down ratio reserved <7:1> reserved 32 vertical scale down ratio lsb (r/w) [vdnratio] vdnratiol <7:0> bits<7:0> of vertical scale down ratio 33 vertical scale down ratio msb (r/w) [vdnratio]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 42 vdnratioh <0> bit<8> of vertical scale down ratio reserved <7:1> reserved note: hdnratio = caphdestsize / caphsrcsize * 256 vdnratio = capvdestsize / capvsrcsize * 256 ii. vbi input timing: vbi captured data is always been stored in dram address, starting at 0. to disable vbi capture, set vbivstart > vbivend, and vbihstart > vbihend 34 vbi vertical start (r/w) [vbivstart] vbivstart <7:0> vbi vertical capture start position 35 vbi vertical end (r/w) [vbivend] vbivend <7:0> vbi vertical capture end 36 vbi horizontal start (r/w) [vbihstart] vbihstart <7:0> vbi horizontal capture start position 37 vbi horizontal size (r/w) [vbivsize] vbihsize <7:0> vbi horizontal capture size iii. itu-656 detection: 38 itu-656 hsync start (r/w) [656hstart] 656hstart <7:0> itu656data horizontal sync start position, default value 20h 39 itu-656 hsync end (r/w) [656hend] 656hend <7:0> itu656data horizontal sync end position, default value 80h 3a itu-656 vsync start (r/w) [656vstart] 656vstart <7:0> itu656data vertical sync start position, default value 02h 3b itu-656 vsync end (r/w) [656vend]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 43 656vend <7:0> itu656data vertical sync end position, default value 04h iv: position detection: 50 data threshold for position detection (r/w) [posdatath] posdatath <7:0> luma(brightness) threshold value note: cap#50 is used to determine input non-blanking pixel for both horizontal and vertical direction. any pixel luma value less than this value will be considered as blanking. 52 horizontal active start lsb (r) [poshdestart] poshdestartl <7:0> bits<7:0> of detected horizontal active start position (unit: 1 pixel) 53 horizontal active start msb (r) [poshdestart] poshdestarth <2:0> bits<10:8> of detected horizontal active start position reserved <7:3> reserved 54 horizontal active end lsb (r) [poshdeend] poshdeendl <7:0> bits<7:0> of detected horizontal active start position (unit: 1 pixel) 55 horizontal active end msb (r) [poshdeend] poshdeendh <2:0> bits<10:8> of detected horizontal active end position reserved <7:3> reserved 56 vertical active start lsb (r) [posvdestart] posvdestartl <7:0> bits<7:0> of detected vertical active start line (unit: 1 line) 57 vertical active start msb (r) [posvdestart] posvdestarth <2:0> bits<10:8> of detected vertical active start line reserved <7:3> reserved 58 vertical active end lsb (r) [posvdeend] posvdeendl <7:0> bits <7:0> of detected vertical active end line (unit: 1 line)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 44 59 vertical active end msb (r) [posvdeend] posvdeendh <2:0> bits<10:8> of detected vertical active end line reserved <7:3> reserved v: mode detection: 62 horizontal capture total counter lsb (r) [caphtotalcnt] caphtotalcntl <7:0> bits<7:0> of horizontal total count value 63 horizontal capture total counter msb (r) [caphtotalcnt] caphtotalcnth <2:0> bits<10:8> of horizontal total count value reserved <7:3> reserved 64 vertical capture total counter lsb (r) [capvtotalcnt] capvtotalcntl <7:0> bits<7:0> of vertical total count value 65 vertical capture total counter msb (r) [capvtotalcnt] capvtotalcnth <2:0> bits<10:8> of vertical total count value reserved <7:3> reserved 73 tune input clock phase (r/w) [tuneinclk] tuneinclk <2:0> phase delay number(8 steps) <4:3> phase delay types 00 inclk 01 inclk + delay phase 10 inversed inclk 11 inversed inclk + delay phase reserved <7:5> reserved
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 45 ? memory control group registers (accessible when bas#0e = 02h) i.dram control index register description (hex) register name bits function description 20 dram access control (r/w) [dramaccessctrl] inputenable <0> enable input data to dram reserved <1> reserved powerup <2> enable power up outputenable <3> enable output data from dram reserved <4> reserved refreshenable <5> enable dram refresh powerdown <6> enable power down setmode <7> enable dram setmode cycle 21 dram write (r/w) [dramwrite] pmclksel <0> select dram read clock signal path 0 internal loop 1 external loop from pad mclk to pmclk writemask1 <1> write mask of dram byte 0, 1 writemask2 <2> write mask of dram byte 2 softrest <3> software reset datadelay <5:4> dram data delay datardydelay <7:6> dram data ready delay 22 output & fifo control (r/w) [outfifoctrl] outputlevel <3:0> output fifo level control reserved <7:4> reserved 23 input fifo control (r/w) [infifoctrl] inputlevel <3:0> input fifo level control reserved <7:4> reserved
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 46 note: these are dram fifo water mark, when fifo reach this urgent level, the corresponding video source needs to be serviced(r/w or to/from dram) 24~27: reserved 28 dram minimum refresh (r/w) [dramminrefresh] minrefresh <7:0> minimum refresh requirement within the period of a output vsync, usually 1/60 sec 29 dram control 0 (r/w) [dramctrl] tras <1:0> dram ras control signal 00 5 memory clocks 01 6 memory clocks 01 7 memory clocks 11 8 memory clocks trc <4:2> dram rc control signal 000 7 memory clocks 001 8 memory clocks 001 9 memory clocks 011 10 memory clocks 100 11 memory clocks 101 12 memory clocks 101 13 memory clocks 111 14 memory clocks trcd <5> dram rcd control signals 0 no delay 1 delay 1 memory clock trp <6> dram rp control signal 0 no delay 1 delay 1 memory clock trpd <7> dram rpd control signal 0 no delay 1 delay 1 memory clock
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 47 2a dram control 1 (r/w) [dramctrl] twr <0> dram wr control signal 0 no delay 1 delay 1 memory clock tcl <1> dram cl control signal 0 no delay 1 delay 1 memory clock trw <2> dram rw control signal 0 no delay 1 delay 1 memory clock memconfig <4:3> sdram size 00 16mb 01 64mb 10 reserved 11 reserved bankconfig <5> bank selector 0 a22, 0-4m = bank 0, 4-8m = bank 1 1 a21, 4-6m = bank 0, 6-8m = bank 1 reserved <6> tie to 1 txsr <7> dram xsr control signal note: mem#29&2a is sdram timing parameters. default value: mem#29=?ef?, mem#2a=?4f? 2b dram read address 0 (r/w) [dramraddr] memreadaddr0 <7:0> bits<7:0> of dram read address. (unit: 2 pixels) 2c dram read address 1 (r/w) [dramraddr] memreadaddr1 <7:0> bits<15:8> of dram read address 2d dram read address 2 (r/w) [dramraddr] memreadaddr2 <4:0> bits<20:16> of dram read address reserved <7:5> reserved 30 xy mirror input (r/w) [xymirrorin]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 48 inputflipx <0> enable x mirror capture (horizontally captured in the reversed direction) inputflipy <1> enable y mirror capture (vertically captured in the reversed direction, i.e. up side down capture) reserved <7:2> reserved 31 xy mirror output (r/w) [xymirrorout] outputflipx <0> enable x mirror display (horizontally display in the reversed direction) outputflipy <1> enable y mirror display (vertically displayed in the reversed direction, i.e. up side down display) reserved <7:2> reserved 32 skip mode (r/w) [skipmode] inputskip <1:0> dram input address pointer incremental unit 00 2 fields/1 frame stockpile, even1, odd1, even1, odd1 ?., note: stride >= size 01 reserved 10 4 fields/2frames stockpile f1(1),f2(1),f3(1),f4(1),f1(2),f2(2),f3(2)? note: stride >= size * 4 11 reserved reserved <2> reserved twofield <3> two field mode enable reserved <4> reserved memcontrolen <5> 0 disable sdram controller 1 enable sdram controller dbufferen <6> dobule buffering enable reserved <7> reserved ii. dram input window control 33 dram input start (r/w) [draminstart] draminstart <7:0> input dram address start (unit: 8192 pixels)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 49 34 dram input horizontal stride (r/w) [draminhstride] draminhstride <7:0> input dram horizontal stride (unit: 4 pixels) 35 dram input horizontal size (r/w) [draminhsize] draminhsize <7:0> input dram horizontal size (unit: 4 pixels) note: set stride value at 64/128/256 boundary, will better ease dram timing. draminhsize = caphdestsize(cap#25&24) / 4 iii. dram window copy control 39 window copy source start lsb (r/w) [wcsrcstart] gsinputstart1 <7:0> bits<7:0> of gs input dram address start. (unit: 8192 pixels) 3a window copy source start (r/w) [wcsrcstart] gsinputstart2 <7:0> bits<15:8> of gs input dram address start 3b window copy source start msb (r/w) [wcsrcstart] gsinputstart3 <3:0> bits<18:16> of gs input dram address start reserved <7:4> reserved 3c window copy source stride (r/w) [gsdraminputstride] gsistride <7:0> gs input dram stride. (8 pixels) 3d window copy size (r/w) [gsdraminputsize] gshsize <7:0> gs input dram size. (unit: 8 pixels) 3e direct write stride (r/w) [wcstride] wcstride <7:0> dram window copy stride. (unit: 8 pixels) 3f window copy destination start lsb (r/w) [wcdeststart] wcsrcstart1 <7:0> bits<7:0> of dram window copy source address start. (unit: 8 pixels)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 50 40 window copy destination start (r/w) [wcdeststart] wcdeststart2 <7:0> bits<15:8> of dram window copy source address start 41 window copy destination start msb (r/w) [wcdeststart] wcdeststart3 <3:0> bits<20:16> of dram window copy source address start reserved <7:4> reserved note: after writing to mem#41, the window copy operation will be carried out. 42 direct read/write address lsb (r/w) [dastart] daddrstart1 <7:0> bits<7:0> of dram window copy source address start. (unit: 8 pixels) 43 direct read/write address (r/w) [dastart] daddrstart2 <7:0> bits<15:8> of dram window copy source address start 44 direct read/write address msb (r/w) [dastart] daddrstart3 <3:0> bits<20:16> of dram window copy source address start reserved <7:4> reserved 45 window copy size (r/w) [wcsize] wcsize <7:0> dram directly write size. (unit: 8 pixels) or dram window cop y total lines [7:0] for window copy. 46 window copy line total (r/w) [wclinetotal] wclinetotal <7:0> dram window copy total lines[2:0]. (1 line) iv. dram output window control 47 dram output start (r/w) [dramoutstart] dramoutstart <7:0> output dram address start. (unit: 8192 pixels) 48 dram output horizontal stride (r/w) [dramouthstride]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 51 dramouthstride <7:0> output dram horizontal stride. (unit: 4/8/12 pixels) 49 dram output horizontal size (r/w) [dramouthsize] dramouthsize <7:0> output dram horizontal size. (unit: 4/8/12 pixels) dramohsize = dishsrcsize(dis#41&40) / 4 4d vbi start address lsb (r/w) [vbistart] vbiaddrstart1 <7:0> bit<7:0> of vbi starting address. 4e vbi start address (r/w) [vbistart] vbiaddrstart2 <7:0> bit<15:8> of vbi starting address. 4f vbi start address msb (r/w) [vbistart] vbiaddrstart3 <3:0> bit<19:16> of vbi starting address. reserved <7:4> reserved 50 front motion detect control (r/w) [frontm] frontmyth <6:0> y threshold value for front motion enfrontm <7> enable front motion detection 51 tune memory write clock phase (r/w) [tunemclk] tunemclk <2:0> phase delay number(8 steps) <4:3> phase delay types 00 mclk 01 mclk + delay phase 10 inversed mclk 11 inversed mclk + delay phase reserved <7:5> reserved 52 tune memory read clock phase (r/w) [tunepmclk] tunepmclk <2:0> phase delay number(8 steps) <4:3> phase delay types 00 pmclk
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 52 01 pmclk + delay phase 10 inversed pmclk 11 inversed pmclk + delay phase reserved <7:5> reserved v. dram data port 60 read status (r) [readstatus] status <0> data ready reserved <7:1> reserved 61 byte 0 (r)(w) [byte0] rbyte0(r) <7:0> bits<7:0> of dram for read-out wbyte0(w) <7:0> bits<7:0> of pixel 0 for 16-bit mode write, or dummy field for 24-bit mode write 62 byte 1 (r)(w) [byte1] rbyte1(r) <7:0> bits<15:8> of dram read-out wbyte1(w) <7:0> bits<15:8> of pixel 0 for 16-bit mode write, or blue field for 24-bit mode write 63 byte 2 (r)(w) [byte2] rbyte2(r) <7:0> bits<23:16> of dram read-out wbyte2(w) <7:0> bits<7:0> of pixel 1 for 16-bit mode write, or green field for 24-bit mode write 64 byte 3 (r)(w) [byte3] rbyte3(r) <7:0> bits<31:24> of dram read-out wbyte3(w) <7:0> <15:8> of pixel 1 for 16-bit mode write, or red field for 24-bit mode write 65 byte 4 (r) [byte4] rbyte4 <7:0> bits<39:32> of dram read-out
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 53 66 byte5 (r) [byte5] rbyte4 <7:0> bits<47:40> of dram read-out dram data read ports are defined in mem#61~66. memreadaddr is defined in mem#42~44. after reading mem#60, the read cycle will be strobe if bit-0 is 0. mem#60 should be read until bit 0 is 1. then, read mem#61~66 for the data read from sdram.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 54 ? display control group registers (accessible when bas#0e = 03h) i. display timing index register description (hex) register name bits function description 20 horizontal display total lsb (r/w) [dishtotal] dishtotall <7:0> bits<7:0> of display horizontal total (unit: 1 pixel) 21 horizontal display total msb (r/w) [dishtotal] dishtotalh <3:0> bits<11:8> of display horizontal total reserved <7:4> reserved 22 horizontal display sync lsb (r/w) [dishsend] dishsendl <7:0> bits<7:0> of display horizontal sync end (unit: 1 pixel) 23 horizontal display sync msb (r/w) [dishsend] dishsendh <3:0> bits<11:8> of display horizontal sync end reserved <7:4> reserved note: horizontal sync start at position 1. 24 horizontal display start lsb (r/w) [dishdestart] dishdestartl <7:0> bits<7:0> of horizontal display start (unit: 1 pixel) 25 horizontal display start msb (r/w) [dishdestart] dishdestarth <3:0> bits<11:8> of horizontal display start reserved <7:4> reserved 26 horizontal display end lsb (r/w) [dishdeend] dishdeendl <7:0> bits<7:0> of horizontal display end (unit: 1 pixel) 27 horizontal display end msb (r/w) [dishdeend] dishdeendh <3:0> bits<11:8> of horizontal display end
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 55 reserved <7:4> reserved 28 display vertical total lsb (r/w) [disvtotal] disvtotall <7:0> bits<7:0> of display vertical total (unit: 1 pixel) 29 display vertical total msb (r/w) [disvtotal] disvtotalh <3:0> bits <11:8> of display vertical total reserved <7:4> reserved 2a display vertical sync lsb (r/w) [disvsend] disvsendl <7:0> bits<7:0> of display vertical sync end (unit: 1 pixel) 2b display vertical sync msb (r/w) [disvsend] disvsendh <3:0> bits<11:8> of display vertical sync end reserved <7:4> reserved note: vertical sync start at line 1. 2c vertical display start lsb (r/w) [disvdestart] disvdestartl <7:0> bits<7:0> of vertical display start (unit: 1 pixel) 2d vertical display start msb (r/w) [disvdestart] disvdestarth <3:0> bits<11:8> of vertical display start reserved <7:4> reserved 2e vertical display end lsb (r/w) [disvdeend] disvdeendl <7:0> bits<7:0> of vertical display end(unit: 1 pixel) 2f vertical display end msb (r/w) [disvdeend] disvdeendh <3:0> bits<11:8> of vertical display end reserved <7:4> reserved ii. window output timing
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 56 30 horizontal display active start lsb (r/w) [dishdestart] dishdestartl <7:0> bits<7:0> of horizontal display active start (unit: 1 pixel) 31 horizontal display active start msb (r/w) [dishdestart] dishdestarth <3:0> bits<11:8> of horizontal display active start reserved <7:4> reserved 32 horizontal display active end lsb (r/w) [dishdeend] dishdeendl <7:0> bits<7:0> of horizontal display active end (unit: 1 pixel) 33 horizontal display active end msb (r/w) [dishdeend] dishdeendh <3:0> bits<11:8> of horizontal display active end reserved <7:4> reserved 34 vertical display active start lsb (r/w) [disvdestart] disvdestartl <7:0> bits<7:0> of vertical display active start (unit: 1 pixel) 35 vertical display active start msb (r/w) [disvdestart] disvdestarth <3:0> bits<11:8> of vertical display active start reserved <7:4> reserved 36 vertical display active end lsb (r/w) [disvdeend] disvdeendl <7:0> bits<7:0> of vertical display active end (unit: 1 pixel) 37 vertical display active end msb (r/w) [disvdeend] disvdeendh <3:0> bits<11:8> of vertical display active end reserved <7:4> reserved iii. zoom in control registers 40 horizontal display source size lsb (r/w) [dishsrcsize] dishsrcsizel <7:0> bits<7:0> of horizontal display source size (unit: 1 pixel) 41 horizontal display source size msb (r/w) [dishsrcsize]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 57 dishsrcsizeh <3:0> bits<11:8> of horizontal display source size reserved <7:4> reserved 42 horizontal display destination size lsb (r/w) [dishdestsize] dishdestsizel <7:0> bits<7:0> of horizontal display destination size (unit: 1 pixel). 43 horizontal display destination size msb (r/w) [dishdestsize] dishdestsizeh <3:0> bits<11:8> of horizontal display destination size reserved <7:4> reserved 44 vertical display source size lsb (r/w) [disvsrcsize] disvsrcsizel <7:0> bits<7:0> of vertical display source size (unit:1 pixel) 45 vertical display source size msb (r/w) [disvsrcsize] disvsrcsizeh <3:0> bits<11:8> of vertical display source size reserved <7:4> reserved 46 vertical display destination size lsb (r/w) [disvdestsize] disvdestsizel <7:0> bits<7:0> of vertical display source size (unit:1 pixel) 47 vertical display destination size msb (r/w) [disvdestsize] disvdestsizeh <3:0> bits<11:8> of vertical display destination size reserved <7:4> reserved note : dishdestsize >= dishsrcsize, disvdestsize >= disvsrcsize 48 zoom in filter control (r/w) [zoomfctrl] vzoomen <0> enable vertical scale-up filtering hzoomen <1> enable horizontal scale-up filtering reserved <7:2> reserved 4a horizontal scale up ratio lsb (r/w) [hupratio] hupratiol <7:0> bits<7:0> of horizontal scale up ratio
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 58 4b horizontal scale up ratio msb (r/w) [hupratio] hupratioh <7:0> bits<15:8> of horizontal scale up ratio 4a delta horizontal scale up ratio lsb (r/w) [deltahupratio] deltahupratiol <7:0> bits<7:0> delta of horizontal scale up ratio for keystone 4b delta horizontal scale up ratio msb (r/w) [deltahupratio] deltahupratioh <3:0> bits<11:8> delta of horizontal scale up ratio for keystone hdestartinc <5:4> delta of starting point of horizontal de for keystone 00 added by 0 01 added by 1 10 added by 0 11 substrate by 1 hdeendinc <7:6> delta of ending point of horizontal de for keystone 00 added by 0 01 added by 1 10 added by 0 11 substrate by 1 note: this definition is valid when dis#cb<4>=?1? and used in keystone 4c vertical scale up ratio lsb (r/w) [vupratio] vupratiol <7:0> bits<7:0> of vertical scale up ratio 4d vertical scale up ratio msb (r/w) [vupratio] vupratioh <7:0> bits<15:8> of vertical scale up ratio note: hupratio = dishsrcsize / dishdestsize * 8192 note: vupratio = disvsrcsize / disvdestsize * 8192 4e horizontal scale up initial phase lsb (r/w) [hphase] hupphasel <7:0> bit<7:0> of horizontal scale up initial phase 4f horizontal scale up initial phase msb (r/w) [hphase] hupphaseh <7:0> bit<15:8> of horizontal scale up initial phase
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 59 50 vertical scale up initial phase lsb (r/w) [vphase] vupphasel <7:0> bit<7:0> of vertical scale up initial phase 51 vertical scale up initial phase msb (r/w) [vphase] vupphaseh <7:0> bit<15:8> of vertical scale up initial phase 54 output mode (r/w) [outputmode] outputmode <1:0> output enable 00 enable 01 reserved 10 reserved 11 disable, zero output reserved <4:2> reserved dithermode <5> enable dither output 0 no dither 1 8 bits to 6 bits reserved <6> reserved luten <7> enable built-in lut look-up table 55 lut write index (r/w) [lutwindex] lutwindex <7:0> lut access index 5c lut red color lsb (r/w) [lutred] lutred <7:0> lut red color port 5d lut green color lsb (r/w) [lutgreen] lutgreen <7:0> lut green color port 5e lut blue color lsb (r/w) [lutblue] lutblue <7:0> lut blue color port 5f lut read/write trigger (r/w) [lutwen] reserved <5:0> reserved
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 60 lutwen <7:6> write color field enable 00 red, green and blue written into lut 01 only red is written into lut 10 only green written into lut 11 only blue written into lut 56 pattern generator and gpo (r/w) [patterngen] patternmode <1:0> 00 fram line 01 color bar 10 gray level 11 line moier patternen <4> enable pattern generation gpo <7:5> general purpose output port note: set register gpo(dis#56<7:5>) value will effect pin gpo2~0 output status in phase iv. osd color registers 58 osd write address lsb (r/w) [osdramwaddr] osdramwaddrl <7:0> bit<7:0> of osd ram write address 59 osd write address msb (r/w) [osdramwaddr] osdramwaddrh <2:0> bit<10:8> of osd ram write address reserved <7:3> reserved 5a osd write data port (w) [osdramwdata] osdwdata <7:0> osd ram write data port 60 color 0 red (r/w) [color0red] color0red <7:0> color 0 red component 61 color 0 green (r/w) [color0green] color0green <7:0> color 0 green component
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 61 62 color 0 blue (r/w) [color0red] color0blue <7:0> color 0 blue component 63 color 1 red (r/w) [color1red] color1red <7:0> color 1 red component 64 color 1 green (r/w) [color1green] color1green <7:0> color 1 green component 65 color 1 blue (r/w) [color1blue] color1blue <7:0> color 1 blue component 66 color 2 red (r/w) [color2red] color2red <7:0> color 2 red component 67 color 2 green (r/w) [color2green] color2green <7:0> color 2 green component 68 color 2 blue (r/w) [color2blue] color2blue <7:0> color 2 blue component 69 color 3 red (r/w) [color3red] color3red <7:0> color 3 red component 6a color 3 green (r/w) [color3green] color3green <7:0> color 3 green component 6b color 3 blue (r/w) [color3blue] color3blue <7:0> color 3 blue component 6c color 4 red (r/w) [color4red] color4red <7:0> color 4 red component 6d color 4 green (r/w) [color0green]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 62 color4green <7:0> color 4 green component 6e color 4 blue (r/w) [color4blue] color4blue <7:0> color 4 blue component 6f color 5 red (r/w) [color5red] color5red <7:0> color 5 red component 70 color 5 green (r/w) [color5green] color5green <7:0> color 5 green component 71 color 5 blue (r/w) [color5blue] color5blue <7:0> color 5 blue component 72 color 6 red (r/w) [color6red] color6red <7:0> color 6 red component 73 color 6 green (r/w) [color6green] color6green <7:0> color 6 green component 74 color 6 blue (r/w) [color6blue] color6blue <7:0> color 6 blue component 75 color 7red (r/w) [color7red] color7red <7:0> color 7 red component 76 color 7 green (r/w) [color7green] color7green <7:0> color 7 green component 77 color 7 blue (r/w) [color7blue] color7blue <7:0> color 7 blue component v. osd control register
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 63 78 osd color select (r/w) [osdcolorsel] osd1colorsel <1:0> osd1 color selection, 8 colors only apply when font2byte= ?1? and pixdepth1= ?1? 00 select osd1 colors from index 3..0 01 select osd1 colors from index 7..4 10 select osd1 colors from index 7..0 11 reserved osd2colorsel <3:2> osd2 color selection, 8 colors only apply when font2byte= ?1? and pixdepth2= ?1? 00 select osd2 colors from index 3..0 01 select osd2 colors from index 7..4 10 select osd2 colors from index 7..0 11 reserved font2byte <4> two-byte font charter code mode, effective only when rommode = '1' reserved <7:5> reserved 79 blink time (r/w) [blinktime] blinktimer <6:0> blinking timing value blinktype <7> 0 reverse color 1 bypass note: osd blinking frequency = vsync frequency / blinktimer 80 osd modes (r/w) [osdmode] rommode <0> enable rom mode 0 internal ram mode 1 external rom mode reserved <1> tie to 0 number <7:2> adjust rom address width to access external rom data note: the method of select the number value show on osd application note 81 logic operation (r/w) [foreop]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 64 color0op <1:0> logic operation between color 0 and video 00 nop, show only osd 01 or, video or color 0 10 and, video and color 0 11 xor, video xor color 0 color1op <3:2> logic operation between color 1 and video 00 nop, show only osd 01 or, video or color 1 10 and, video and color 1 11 xor, video xor color 1 color2op <5:4> logic operation between color 2 and video 00 nop, show only osd 01 or, video or color 2 10 and, video and color 2 11 xor, video xor color 2 color3op <7:6> logic operation between color 3 and video 00 nop, show only osd 01 or, video or color 3 10 and, video and color 3 11 xor, video xor color 3 83 logic operation (r/w) [foreop] color4op <1:0> logic operation between color 4 and video 00 nop, show only osd 01 or, video or color 4 10 and, video and color 4 11 xor, video xor color 4 color5op <3:2> logic operation between color 5 and video 00 nop, show only osd 01 or, video or color 5 10 and, video and color 5 11 xor, video xor color 5 color6op <5:4> logic operation between color 6 and video 00 nop, show only osd
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 65 01 or, video or color 6 10 and, video and color 6 11 xor, video xor color 6 color7op <7:6> logic operation between color 7 and video 00 nop, show only osd 01 or, video or color 7 10 and, video and color 7 11 xor, video xor color 7 note: color 0 ~ 7 are defined in dis#60~77. 82 fading alpha value (r/w) [fadealpha] fadealpha <5:0> the alpha factor for fading effect ranging reserved <7:6> reserved note: fadealpha range from 00h to 20h, there is 33-level of fade-in/fade-out effect. output = image * fadealpha/32 + osd * (1 ? (fadealpha /32)) show only osd: fadealpha = ?000000? --- minimum alpha value(00h) show only image: fadealpha = ?100000? --- maximum alpha value(20h) vi. osd 1 registers 84 osd1 control (r/w) [osdcontrol1] pixdepth1 <0> number of bits per pixel of osd1 0 one bit per pixel 1 two bits per pixel blinken1 <1> osd1 blinking enable, effective when rommode = ?1? 0 disable blinking 1 enable blinking hzoom1 <3:2> osd1 horizontal zoom factor 00 osd1 pixel h size equals to 1x of video pixel 01 osd1 pixel h size equals to 2x of video pixel 10 osd1 pixel h size equals to 4x of video pixel 11 osd1 pixel h size equals to 8x of video pixel
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 66 vzoom1 <5:4> osd1 vertical zoom factor 00 osd1 pixel v size equals to 1x of video pixel 01 osd1 pixel v size equals to 2x of video pixel 10 osd1 pixel v size equals to 4x of video pixel 11 osd1 pixel v size equals to 8x of video pixel reserved <6> reserved osden1 <7> osd1 enable 0 disable osd1 1 enable osd1 85 osd1 rom start address (r/w) [romstartaddr1] romstaddr1h <7:0> bits<11:4> of osd1 rom start address (unit: 16 bytes) 86 osd1 font address unit (r/w) [fontaddrunit1] romstaddr1l <3:0> bits<3:0> osd1 rom start address (unit: 16 bytes) fontaddrunit1 <7:4> osd1 font address unit (n), font address is multiple of 2(n+5) bytes, max. is 216 90 osd1 horizontal start (r/w) [osdhstart1] osdhstart1 <7:0> on screen display horizontal start position (unit: 8 video pixels) 91 osd1 vertical start (r/w) [osdvstart1] osdvstart1 <7:0> on screen display vertical start position (unit: 4 video lines) 92 osd1 ram start address (r/w) [ramaddrst1] ramaddrst1 <7:0> osd1 ram start address (unit: 8 bytes) 8b osd1 ram horizontal stride msb (r/w) [ramstride1] ramstride1h <1:0> bits <9:8> of osd1 ram line stride (unit: 1 bytes) reserved <7:2> reserved 93 osd1 ram horizontal stride lsb (r/w) [ramstride1] ramstride1l <7:0> bits<7:0> of osd1 ram line stride(unit: 1 bytes)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 67 94 osd1 bitmap horizontal size lsb (r/w) [bmaphsize1] bmaphsize1l <7:0> bits<7:0> of osd1 horizontal bitmap size (unit: 1 osd pixel) 95 osd1 bitmap horizontal size msb (r/w) [bmaphsize1] bmaphsize1h <1:0> bits<9:8> of osd1 bitmap horizontal size reserved <7:2> reserved 96 osd1 bitmap horizontal total pixels lsb (r/w) [bmaphtotal1] bmaphtotal1l <7:0> bits<7:0> of osd1 bitmap horizontal total (unit: 1 osd pixel) 97 osd1 bitmap horizontal total pixels msb (r/w) [bmaphtotal1] bmaphtotal1h <1:0> bits<9:8> of osd1 bitmap horizontal total reserved <7:2> reserved 98 osd1 bitmap vertical size lsb (r/w) [bmapvsize1] bmapvsize1l <7:0> bits<7:0> of osd1 bitmap vertical size (unit: 1 osd line) 99 osd1 bitmap vertical size msb (r/w) [bmapvsize1] bmapvsize1h <1:0> bits<9:8> of osd1 bitmap vertical size reserved <7:2> reserved 9a osd1 bitmap vertical total lines lsb (r/w) [bmapvtotal1] bmapvtotal1l <7:0> bits<7:0> of osd1 bitmap vertical total(unit: 1 osd line) 9b osd1 bitmap vertical total lines msb (r/w) [bmapvtotal1] bmapvtotal1h <1:0> bits<9:8> of osd1 bitmap vertical total reserved <7:2> reserved 9c osd1 icon horizontal total (r/w) [iconhtotal1] iconhtotal1 <7:0> osd1 horizontal icon total (unit: 1 icon) 9d osd1 icon vertical total (r/w) [iconvtotal1] iconvtotal1 <7:0> osd1 vertical icon total (unit: 1 icon)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 68 ae osd1 font line size (r/w) [fontlinesize1] fontlinesize1 <7:0> memory size of a line of font (unit: 1 byte) vii. osd 2 registers 88 osd2 control (r/w) [osdcontrol2] pixdepth2 <0> number of bits per pixel of osd2 0 one bit per pixel 1 two bits per pixel blinken2 <1> osd2 blinking enable, effective when rommode = ?1? 0 disable blinking 1 enable blinking hzoom2 <3:2> osd2 horizontal zoom factor 00 osd pixel h size equals to 1x of video pixel 01 osd pixel h size equals to 2x of video pixel 10 osd pixel h size equals to 4x of video pixel 11 osd pixel h size equals to 8x of video pixel vzoom2 <5:4> osd2 vertical zoom factor 00 osd pixel v size equals to 1x of video pixel 01 osd pixel v size equals to 2x of video pixel 10 osd pixel v size equals to 4x of video pixel 11 osd pixel v size equals to 8x of video pixel reserved <6> reserved osden2 <7> osd2 enable 0 disable osd2 1 enable osd2 89 osd2 rom start address (r/w) [romstartaddr2] romstaddr1h <7:0> bits<11:4> of osd2 rom start address (unit: 16 bytes) 8a osd2 font address unit (r/w) [fontaddrunit2] romstaddr2l <3:0> bits<3:0> osd2 rom start address (unit: 16 bytes) fontaddrunit2 <7:4> osd1 font address unit (n), font address is multiple of 2(n+5) bytes, max. is 216
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 69 a0 osd2 horizontal start (r/w) [osdhstart2] osdhstart2 <7:0> on screen display horizontal start position (unit: 8 video pixels) a1 osd2 vertical start (r/w) [osdvstart1] osdvstart2 <7:0> on screen display vertical start position (unit: 4 video lines) a2 osd2 ram start address (r/w) [ramaddrst2] ramaddrst2 <7:0> osd2 ram start address (unit: 8 bytes) 8c osd2 ram horizontal stride msb (r/w) [ramstride2] ramstride2h <1:0> bits <9:8> of osd2 ram line stride (unit: 1 bytes) reserved <7:2> reserved a3 osd2 ram horizontal stride lsb (r/w) [ramstride2] ramstride2l <7:0> bits<7:0> of osd2 ram line stride (unit: 1 bytes) a4 osd2 bitmap horizontal size lsb (r/w) [bmaphsize2] bmaphsize2l <7:0> bits<7:0> of osd1 horizontal bitmap size (unit: 1 osd pixel) a5 osd2 bitmap horizontal size msb (r/w) [bmaphsize2] bmaphsize2h <1:0> bits<9:8> of osd1 bitmap horizontal size reserved <7:2> reserved a6 osd2 bitmap horizontal total pixels lsb (r/w) [bmaphtotal2] bmaphtotal2l <7:0> bits<7:0> of osd2 bitmap horizontal total (unit: 1 osd pixel) a7 osd2 bitmap horizontal total pixels msb (r/w) [bmaphtotal2] bmaphtotal2h <1:0> bits<9:8> of osd2 bitmap horizontal total reserved <7:2> reserved a8 osd2 bitmap vertical size lsb (r/w) [bmapvsize2] bmapvsize2l <7:0> bits<7:0> of osd2 bitmap vertical size (unit: 1 osd line)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 70 a9 osd2 bitmap vertical size msb (r/w) [bmapvsize2] bmapvsize2h <1:0> bits<9:8> of osd2 bitmap vertical size reserved <7:2> reserved aa osd2 bitmap vertical total lines lsb (r/w) [bmapvtotal2] bmapvtotal2l <7:0> bits<7:0> of osd2 bitmap vertical total(unit: 1 osd line) ab osd2 bitmap vertical total lines msb (r/w) [bmapvtotal2] bmapvtotal2h <1:0> bits<9:8> of osd2 bitmap vertical total reserved <7:2> reserved ac osd2 icon horizontal total (r/w) [iconhtotal2] iconhtotal2 <7:0> osd2 horizontal icon total (unit: 1 icon) ad osd2 icon vertical total (r/w) [iconvtotal2] iconvtotal2 <7:0> osd2 vertical icon total (unit: 1 icon) af osd2 font line size (r/w) [fontlinesize2] fontlinesize2 <7:0> memory size of a line of font (unit: 1 byte) viii. desktop color registers b3 desktop color component red (r/w) [deskr] deskcolorred <7:0> desktop color red b4 desktop color component green (r/w) [deskg] deskcolorgreen <7:0> desktop color green b5 desktop color component blue (r/w) [deskb] deskcolorblue <7:0> desktop color blue ix. film detection/motion adaptive registers c4 motion pixels threshold lsb (r/w) [motioncntth]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 71 mvcntthl <7:0> bit<7:0> of motion counter threshold c5 motion pixels threshold msb (r/w) [motioncntth] mvcntthh <7:0> bit<15:8> of motion counter threshold c6 lumina(y) threshold (r/w) [lumath] ythl <6:0> y threshold for film & motion compensation reserved <7> reserved c7 chroma(c) threshold (r/w) [chromath] cthh <6:0> c threshold for film & motion compensation reserved <7> reserved c8 de-interlacing control register(r/w) [mcctrl] mcen <0> motion compensation enable 0 field merge de-interlace mode 1 motion adaptive de-interlace mode mvmode <1> motion estimation type 0 y/c comparison 1 y comparison only reserved <2> reserved testmv <3> display motion part reserved <7:4> reserved c9 film detection control register(r/w) [filmctrl] filmdeten <0> film detection enable 0 disable 1 enable resettype <1> non-film detection type 0 h/w auto detection 1 s/w reset to non-film after film detected filmreset <2> reset film detection, depending on bit1 0 disable reset 1 reset when bit 1 is turn on
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 72 reserved <3> reserved pdmatch <7:4> number of film sequence matched ce motion pixel numbers lsb (r) [mvcnt] mvcountl <7:0> bit<7:0> of pixels numbers of difference between 2-field/frame cf motion pixel numbers msb (r) [mvcnt] mvcounth <7:0> bit<15:8> of pixels numbers of difference between 2-field/frame x. keystone/sharpness registers cb keyston/sharpness control register(r/w) [shpkeyctrl] shapen <0> sharpness enable 0 disable 1 enable keyen <4> keystone enable 0 disable 1 enable interlace <5> interlace output enable evenfield <6> even field mode trilevel <7> tri level analog data output enable c0 keystone parameters address lsb (r/w) [keyaddr] keyaddrl <7:0> bit<7:0> of keystone fifo address c1 keystone parameters address msb (r/w) [keyaddr] keyaddrh <3:0> bit<11:8> of keystone fifo address reserved <6:4> reserved keywriteen <7> keystone fifo write enable 0 disable 1 enable note: keystone parameter for each scan line is stored into 1280x32 sram inside al310. keyaddr is the address of read/write pointer of this sram.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 73 xi. tri-level sync registers d0 tri level sync parameter (w) [trisynca] perioda <7:0> tri level sync parameter period_a d1 tri level sync parameter (w) [trisyncb] periodb <7:0> tri level sync parameter period_a d2 tri level sync parameter (w) [trisyncd1] delta1 <6:0> bit<6> is sign bit ex. 60h means from blank_level , - 32 every unit reserved <7> reserved d3 tri level sync parameter (w) [trisyncd2] delta2 <6:0> bit<6> is sign bit ex. 20h means from sync_level, + 32 every unit reserved <7> reserved d4 tri level sync parameter (w) [trisynblank] blankdata <7:0> data of blanking period d7 tri level sync parameter (w) [trisynclevel] synclevel <7:0> sync level value xiii. display parameter registers c2 tune display horizontal sync phase (r/w) [distunehs] dishsdelay <4:0> output horizontal sync delay (unit: 1 oclk) cc tune display pixel clock phase (r/w) [distunesclk] tunesclk <2:0> phase delay number(8 steps) <4:3> phase delay types 00 sclk
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 74 01 sclk + delay phase 10 inversed sclk 11 inversed sclk + delay phase reserved <7:5> reserved ca phase detection control register(r/w) [phasectrl] phaseen <0> phase detection enable 0 disable 1 enable phasemode <2:1> phase detection precision 00 8-bit comparison 01 7-bit comparison 10 6-bit comparison 11 5-bit comparison reserved <7:3> tie to ?00110? d7 display horizontal total counter lsb (r) [dishtotalcnt] htotalcntl <7:0> bit<7:0> of display horizontal total count d8 display horizontal total counter msb (r) [dishtotalcnt] htotalcnth <2:0> bit<10:8> of display horizontal total count reserved <7:3> reserved d9 display vertical total counter lsb (r) [disvtotalcnt] vtotalcntl <7:0> bit<7:0> of display vertical total count da display vertical total counter msb (r) [disvtotalcnt] vtotalcnth <2:0> bit<10:8> of display vertical total count reserved <7:3> reserved db phase counter lsb (r) [phasecnt] phasecntl <7:0> bit<7:0> of phase count value dc phase counter msb (r) [phasecnt]
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 75 phasecnth <4:0> bit<12:8> of phase count value reserved <7:5> reserved f0 enable brightness/contrast/saturation (w) [disadjen] paneladjen <0> enable brightness/contrast/saturation reserved <7:1> reserved f1 brightness value (w) [brightness] brightness <7:0> brightness value, default: "80" f2 contrast value (w) [contrast] contrast <7:0> contrast value, default: "40" f3 saturation value (w) [saturation] saturation <7:0> saturation value, default: "40"
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 76 10 electrical characteristics 10.1 absolute maximum ratings (excessive ratings are harmful to the lifetime. only for user guidelines, not tested.) parameter 3.3v rating unit v dd supply voltage -0.3 ~ +3.8 v v p input pin voltage -0.3 ~ +(v dd +0.3) v i o output current -20 ~ +20 ma t amb ambient op. temperature 0 ~ +85 c t stg storage temperature -40 ~ +125 c t vsol vapor phase soldering temperature (15 sec.) 220 c 10.2 recommended operating conditions 3.3v rating parameter min. typical max. unit v dd supply voltage +3.0 +3.3 +3.6 v v ih high level input voltage 0.7 v dd v dd v v il low level input voltage 0 0.3 v dd v t amb ambient op. temperature 0 +70 c 10.3 dc characteristics ( v dd = 3.3v, vss=0v. t amb = 0 to 70c; some parameters are guaranteed by design only, not production tested) 3.3v rating parameter min. typical max. unit
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 77 3.3v rating parameter min. typical max. unit v ih hi-level input voltage 0.7 v dd - v dd v v il lo-level input voltage 0 0.3 v dd v v oh hi-level output voltage 2.4 - v dd v v ol lo-level output voltage - - +0.4 v i li input leakage current -5 - +5 a i lo output leakage current -5 - +5 a 10.4 ac characteristics ( v dd = 3.3v, vss=0v, t amb = 0 to 70c; some parameters are guaranteed by design only, not production tested)
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 78 11 timing diagrams tbd.
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 79 12 mechanical drawing- pqfp-208
AL260 ?2002,2003-copyright by averlogic technologies, corp. version b1.0 80 contact information averlogic technologies corp. 4f, no. 514, sec. 2, cheng kung rd., nei-hu dist., taipei, taiwan tel: +886 2-27915050 fax: +886 2-27912132 e-mail: sales@averlogic.com.tw url: http://www.averlogic.com.tw averlogic technologies, inc. 90 great oaks blvd. #204, san jose, ca 95119, u.s.a. tel: 1 408 361-0400 fax: 1 408 361-0404 e-mail: sales@averlogic.com url: http://www.averlogic.com


▲Up To Search▲   

 
Price & Availability of AL260

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X